package com.kangyi.user.mapper;

import com.kangyi.entity.NursingHomeTag;
import com.kangyi.vo.NursingHomeTagVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface NursingHomeTagMapper {
    @Select("SELECT * FROM nursing_home_tag WHERE nursing_home_id = #{id}")
    List<NursingHomeTagVO> inquiryNursingHomeTags(Integer id);

    List<NursingHomeTagVO> getTagsByNursingHomeIds(List<Integer> nursingHomeIds);

    List<NursingHomeTagVO> getTagsVOByNursingHomeIds(List<Integer> nursingHomeIds);

    List<NursingHomeTagVO> getTagsByNursingHomeId(Integer nursingHomeId);
}
